home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1996 June
/
MACPOWER-1996-06.ISO.7z
/
MACPOWER-1996-06.ISO
/
Apple関連
/
OpenDoc J-1.0
/
3rd Party Components
/
Attachmate CyberTerm
/
_SOM_
/
som_CyberTermCyberExt.idl
< prev
next >
Wrap
Text File
|
1995-11-12
|
2KB
|
74 lines
#ifndef _CYBERTERMCYBEREXT_
#define _CYBERTERMCYBEREXT_
/* ・!・ hack hack hack to get the som compiler to work with CyberItem.idl */
#undef __PRIVATE
#define __PRIVATE__ 1
#include "CyberPartExtension.idl"
//==============================================================================
// Theory of Operation
//==============================================================================
/*
The parts CyberPartExtension subclass catches Cyberdog specific messages
directed at the part. Traditionally, these messages are just passed
straight through to the real side of the part where they can be handled
in plain old C++ code.
This IDL file stubs out all the calls in its superclass CyberPartExtension.
For almost all those calls, it just passes it up to the superclass.
CyberTermCyberExt adds two methods of its own: GetBasePart(), SetBasePart(),
and their associated data member fBasePart which points to the real part.
Among all the CyberPartExtension calls, the only ones where CyberTermCyberExt
does anything are:
-somInit // Init the data member.
-SetCyberItem() // Pass the notification on to the real part.
That's it!
njp
*/
// interface CyberTermCyberExt;
// ・?・ could have that __PRIVATE__ stuff like CyberTerm
module CyberSample {
interface som_CyberTermCyberExt : CyberPartExtension
{
void SetBasePart(in somToken basePart);
somToken GetBasePart();
#ifdef __SOMIDL__
implementation
{
functionprefix = som_CyberTermCyberExt__;
override:
somInit,
SetCyberItem;
releaseorder:
SetBasePart,
GetBasePart;
majorversion = 1; minorversion = 0;
#ifdef __PRIVATE__
somToken fBasePart;
#endif
};
#endif
};
};
#endif // _CYBERTERMCYBEREXT_